home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business & Presentations
/
Business and Presentations - Volume 1 (1995)(Sideface)(NL).iso
/
hputils
/
lasrutil
/
hphebrew.doc
< prev
next >
Wrap
Text File
|
1988-10-14
|
8KB
|
212 lines
HPHEBREW - A Laser Printer Utility
__________________________________
Introduction
============
HPHEBREW creates and downloads soft fonts of Hebrew letters for Hewlett-
Packard's LaserJet II, which can be generated in any combination of:
fixed or proportional spacing; portrait or landscape orientation;
thin, regular, or bold width; point sizes from 3 to 72;
filled or hollow outline characters.
You must always tell HPHEBREW what point size to generate, but all other
options will default. For example: HPHEBREW -s12
will download a 12-point, regular width, filled characters, portrait, fixed
spaced font to LPT1 as id 0. To override the defaults, use options on the
command line. Precede options by a dash (-), such as: HPHEBREW -s12 -dcom1
Entering the command HPHEBREW with no options will print a help screen.
The options are:
================
-B Bold. Normally HPHEBREW draws letters with a stroke width of 1/6
the point size. Use -B for a bolder stroke, -N for a narrower one.
-Dname Device name. Normally HPHEBREW writes to LPT1, but it will write
to: LPT1, LPT2, LPT3, COM1, COM2, or PRINTER. (If you use PRINTER,
the soft font will be written to a disk file called PRINTER, which
you can inspect, modify, or use with other downloading programs.)
-Innnn ID number of font. Normally HPHEBREW gives its font the id 0.
Use the -I option to give it a different ID, such as:
HPHEBREW -s12 -I1 -Dlpt1
Use this font id to switch fonts with an: ESC(nnnnX code.
-H Hollow letters. Normally HPHEBREW generates solid, filled
letters, but will leave the interior empty if you use -H.
-K Keyboard mapping. See section called Hebrew to ASCII Assumptions.
-L Landscape. Normally HPHEBREW creates a Portrait mode font. Use
the -L option for landscape. No characters follow the -L option.
-P Proportional. Normally HPHEBREW creates a Fixed-space font. Use
the -P option for a proportional font. No characters follow the -P.
-S Size. You must specify the size of the font to be generated in
points from 3 to 72. (A point is 1/72 inches tall.) The larger
the point size, the more memory the font takes up in your printer.
-W Width. See section called Information about the Fonts.
HPHEBREW - A Laser Printer Utility
__________________________________
HEBREW to ASCII Assumptions
===========================
By default, the Hebrew characters are mapped to ASCII characters in
a manner that anticipates the use of an English keyboard as follows:
Key Char Key Char Key Char Key Char
a aleph b beth c gimel d daleth
h he v vav z zayin H heth
t teth y yod k kaph K kaph final
l lamed m mem M mem final n nun
N nun final s samekh i ayin f fe
F fe final j tzadeh J tzadeh final q quoph
r resh w shin T tav * *
? ? / / , , ; ;
. . : : ! ! ' '
" " ( ( ) ) + +
- - = =
If you are using a keyboard that directly enters Hebrew characters, you
can override the default character mapping with the K option. Using -K
by itself causes the following key to character mapping:
Key Char Key Char Key Char Key Char
t aleph c beth d gimel s daleth
v he u vav z zayin j heth
y teth h yod f kaph l kaph final
k lamed n mem o mem final b nun
i nun final x samekh g ayin p fe
; fe final m tzadeh . tzadeh final e quoph
r resh a shin , tav * *
? ? q / ' , [ ;
/ . { : ! ! w '
" " ( ( ) ) + +
- - = =
This mapping is subject to change as I learn more about what Hebrew keyboards
are available and try to match the most common. If neither of these options
suits your needs, you can reorder the key-to-character assignment yourself
by entering a new keyboard map with the K option. The first character after
the K should be the character you want used for aleph, the second for beth,
third for gimel, etc. Use the order of characters listed above, and be sure
to specify all 42 characters (letters and punctuation). Since it is difficult
to enter a double quote (") in an argument, use the at-sign (@) for this key
in the K option. When HPHEBREW reads the @, it will substitute a ". For
example, the following would duplicate the default mapping, except c would
be used for quoph, and g would be used for gimel:
HPHEBREW -s10 -KabgdhvzHtykKlmMnNsifFjJcrwT*?/,;.:!'@()+-=
There is as yet no provision for right to left printing. You will
have to accomplish this through other means.
HPHEBREW - A Laser Printer Utility
__________________________________
Information about the fonts
===========================
If you are using these fonts with other software, such a word
processor or a page layout program, you may need to describe
the fonts to the other software. Ideally, the other software
could read the HP soft font format, but if that is not the case,
the following information may help you.
The laser printer has a resolution of 300 dots per inch. To print a
10 point font, which is 10/72 inches high, the characters must be
10/72*300, or 42, dots tall. The Hebrew soft font uses a square
character box, so for the 10 point fixed width font, characters
are displayed in a 42 x 42 dot box. Similarly other point sizes:
Points Dots
8 33
12 50
72 300
With a fixed width font, all characters take the same amount of space,
from the thinnest yod to the widest shin. For proportional spaced fonts,
the characters take only the amount of space needed to display the
character, and the next letter to be printed is squeezed close to the
previous letter - no excess blank space between characters. If you
want to know how wide each character is, use the -W option of HPHEBREW.
This will display a table of the characters in the font and the width
of each character in dots. The format of the width display is similar
to that used for ASCII input to Microsoft's MAKEPRD program:
{W0
FontSize: XX where XX is 2 times the point size
chFirst: XX where XX is the ASCII code of the
first character (usually 32 for blank)
chLast: XX where XX is the ASCII code of the
last character
XX:YYY where YYY is the width in dots of
XX:YYY the character with the ASCII code XX
...
XX:YYY
}W
If you need this information directly in machine readable format, you
will have to redirect the screen display to a file and edit it, such as:
HPHEBREW -s10 -p -w > hebrew.prd
HPHEBREW - A Laser Printer Utility
__________________________________
Shareware
=========
HPHEBREW is distributed as shareware: try it before you buy it.
Make sure it works on your configuration to your liking. Shareware
is NOT freeware - unless you pay for it, you don't have the right
to continue using it beyond a test period.
The price of HPHEBREW is $25. Send your check to:
HPHEBREW
Hexagon Products
P.O. Box 1295
Park Ridge, IL 60068-1295
When you register HPHEBREW, please include the following information:
Name: ___________________________________________________
Company: ________________________________________________
Address: ________________________________________________
City: ___________________________________ State: ________
Zip: _________________ Phone: ___________________________
Do you use DOS or OS/2? DOS OS/2
Do you use color? Yes No
Do you use EGA or VGA? Yes No
Do you have a mouse? Yes No
What kind of printer do you use? ________________________
Where did you acquire HPHEBREW from? ____________________